package com.ws.test;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ws.app.common.ControllerSupport;

@Controller
public class TC extends ControllerSupport {

    @RequestMapping("/queryJsonData")
    public void queryFunc(HttpServletRequest request,
            HttpServletResponse response) {
        Map<String, List<String>> map = new HashMap<String, List<String>>();
        System.out.println(T.d());
        map.put("data", T.d());
        this.outputJSON(map, response);
    }
}
